﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace SQLHw2.appDatabase
{
    public class tblSeating
    {
        public tblSeating() { }
        public tblSeating(string TableID, string TableLocation, int TableSize)
        {
            id = TableID;
            location = TableLocation;
            size = TableSize;
        }
        string _id;
        string _location;
        int _size;
        public string id
        {
            get {return _id;}
            set {_id = value;}
        }
        public string location
        {
            get { return _location; }
            set { _location = value; }
        }
        public int size
        {
            get { return _size; }
            set { _size = value; }
        }


    }
    public class tblEmpJob
    {
        public tblEmpJob() { }
        public tblEmpJob(string EJobID, string EJobDesc, float EJobMinPay, float EJobMaxPay)
        {
            id = EJobID;
            describe = EJobDesc;
            min = EJobMinPay;
            max = EJobMaxPay;
        }
        string _id;
        string _describe;
        float _min;
        float _max;
        public string id
        {
            get { return _id; }
            set { _id = value; }
        }
        public string describe
        {
            get { return _describe; }
            set { _describe = value; }
        }
        public float min
        {
            get { return _min; }
            set { _min = value; }
        }
        public float max
        {
            get { return _max; }
            set { _max = value; }
        }

    }
    public class tblCustBill
    {
        public tblCustBill() { }
        public tblCustBill(string BillNum, string TableID, string EmpID, string BillStartTime, string BillEndTime)
        {
            Bill = BillNum;
            Emp = EmpID;
            Table = TableID;
            StartTime = BillStartTime;
            EndTime = BillEndTime;
        }
        string _Bill;
        string _Emp;
        string _Table;
        string _StartTime;
        string _EndTime;
        public string Bill
        {
            get { return _Bill; }
            set { _Bill = value; }
        }
        public string Emp
        {
            get { return _Emp; }
            set { _Emp = value; }
        }
        public string Table
        {
            get { return _Table; }
            set { _Table = value; }
        }
        public string StartTime
        {
            get { return _StartTime; }
            set { _StartTime = value; }
        }
        public string EndTime
        {
            get { return _EndTime; }
            set { _EndTime = value; }
        }

    }
    public class tblItemsOrdered
    {
        public tblItemsOrdered() { }
        public tblItemsOrdered(string BillNum, string MINum, int QtyOrdered)
        {
            Bill = BillNum;
            MI = MINum;
            Qty = QtyOrdered;
        }
        string _Bill;
        string _MI;
        int _Qty;
        public string Bill
        {
            get { return _Bill; }
            set { _Bill = value; }
        }
        public string MI
        {
            get { return _MI; }
            set { _MI = value; }
        }
        public int Qty
        {
            get { return _Qty; }
            set { _Qty = value; }
        }
    }


}
